﻿Imports BusinessRule.DTO

'Description:例行试验类接口
'Copyright (c) : 通力凯顿（北京）系统集成有限公司
'Writer:Wangjh 
'create Date:20190626
'Rewriter:
'Rewrite Date:
Public Interface uLMSRoutineTestIBusiness
    ''' <summary>
    ''' 获取例行试验部件信息
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetRoutineTestInfo(ByVal para As Dictionary(Of String, String)) As DataSet
    ''' <summary>
    ''' 保存例行试验维护数据，更新，删除，插入
    ''' </summary>
    ''' <param name="dt"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function SaveGetRoutineTest(ByVal dt As DataTable) As Boolean
    ''' <summary>
    ''' 根据发动机物料号，查询机型及例行试验信息
    ''' </summary>
    ''' <param name="engineProductName"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetPfndRoutineInfo(ByVal engineProductName As String) As DataTable


    ''' <summary>
    ''' 获取部件例行试验信息，根据发动机号……
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetPartsRoutineTest(ByVal para As Dictionary(Of String, String)) As DataTable
    ''' <summary>
    ''' 保存例行试验计划数据
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function SaveRoutineTestPlan(ByVal para As Dictionary(Of String, String), ByRef strMsg As String) As Boolean

    ''' <summary>
    ''' 获取例行试验计划弹出框数据
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetRoutineTestPlanPupInfo(ByVal para As Dictionary(Of String, String)) As DataTable
    ''' <summary>
    ''' 查询发动机号是否有分解记录
    ''' </summary>
    ''' <param name="engineNo"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function IsHaveEnginepartplan(ByVal engineNo As String) As Boolean
    ''' <summary>
    ''' 获取例行试验和维护信息
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetRoutineTestPlanInfo(ByVal para As Dictionary(Of String, String)) As DataTable
    ''' <summary>
    ''' 导入标准样件
    ''' </summary>
    ''' <param name="dt"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function LeadInETALONBASEDATA(ByVal dt As DataTable) As Boolean
    ''' <summary>
    ''' 保存技术通知单表
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function SaveTechnicalNoticeInfo(ByVal para As Dictionary(Of String, String)) As Boolean
    ''' <summary>
    ''' 查询技通单
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetTechnicalWorkflow(ByVal para As System.Collections.Generic.Dictionary(Of String, String)) As uMESProcessResult

    ''' <summary>
    ''' 查询技通单
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetTechnicalWorkflowForSplit(ByVal para As System.Collections.Generic.Dictionary(Of String, String)) As uMESProcessResult
    ''' <summary>
    ''' 获取订单及分解计划信息
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetMfgorderEnginePartPlanInfo(ByVal mfgorderid As String, ByVal workflowid As String) As DataTable

    ''' <summary>
    ''' 查询考核项信息
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetAppraisalItem(ByVal para As System.Collections.Generic.Dictionary(Of String, String)) As uMESProcessResult

    Function InsertTransfer(ByVal para As Dictionary(Of String, String)) As Boolean
    Function ReturnTransfer(ByVal para As Dictionary(Of String, String)) As Boolean
    Function GetOperationTransferData(ByVal para As Dictionary(Of String, String)) As uMESProcessResult

End Interface
